package com.juyu.reader.pc.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.juyu.reader.pc.dao.BookTagDao;
import com.juyu.reader.pc.model.BookTag;

@Service
public class BookTagService {
	@Autowired
	public BookTagDao bookTagDao;

	public List<BookTag> findBookTag(BookTag bookTag) {
		return bookTagDao.findBookTag(bookTag);
	}

	public int insertBookTag(BookTag bookTag) {
		return bookTagDao.insertBookTag(bookTag);
	}

	public int deleteBookTag(BookTag bookTag) {
		return bookTagDao.deleteBookTag(bookTag);
	}
}
